<script type="text/javascript" charset="UTF-8">
	$(function() {

		sy.$loginComboboxForm = $('#loginComboboxForm').form();

		sy.$loginComboboxName = $('#loginComboboxName').show().combobox({
			required : true,
			url : 'userController.do?loginCombobox',
			textField : 'name',
			valueField : 'name',
			mode : 'remote',
			panelHeight : 'auto'
		});

		sy.$loginComboboxForm.find('[name=password]').bind('keyup', function(event) {/* 增加回车提交功能 */
			if (event.keyCode == '13') {
				sy.loginFun();
			}
		});

	});
</script>
<form id="loginComboboxForm">
	<table class="tableForm">
		<tr>
			<th style="width: 50px;">登录名</th>
			<td><select id="loginComboboxName" name="name" style="display: none;width:170px;"></select>
			</td>
		</tr>
		<tr>
			<th>密码</th>
			<td><input name="password" type="password" class="easyui-validatebox" required="true" />
			</td>
		</tr>
	</table>
</form>